+Thu Oct 22 16:22:55 1998 Lars Hamann <lars@gtk.org>
+
+ * gtk/gtkclist.c (COLUMN_FROM_XPIXEL): samll fix for invisible
+ columns
+
Thu Oct 22 02:29:53 1998 Tim Janik <timj@gtk.org>
* gtk/gtkfilesel.h: GtkType and macro fixups
+Thu Oct 22 16:22:55 1998 Lars Hamann <lars@gtk.org>
+
+ * gtk/gtkclist.c (COLUMN_FROM_XPIXEL): samll fix for invisible
+ columns
+
Thu Oct 22 02:29:53 1998 Tim Janik <timj@gtk.org>
* gtk/gtkfilesel.h: GtkType and macro fixups
+Thu Oct 22 16:22:55 1998 Lars Hamann <lars@gtk.org>
+
+ * gtk/gtkclist.c (COLUMN_FROM_XPIXEL): samll fix for invisible
+ columns
+
Thu Oct 22 02:29:53 1998 Tim Janik <timj@gtk.org>
* gtk/gtkfilesel.h: GtkType and macro fixups
+Thu Oct 22 16:22:55 1998 Lars Hamann <lars@gtk.org>
+
+ * gtk/gtkclist.c (COLUMN_FROM_XPIXEL): samll fix for invisible
+ columns
+
Thu Oct 22 02:29:53 1998 Tim Janik <timj@gtk.org>
* gtk/gtkfilesel.h: GtkType and macro fixups
+Thu Oct 22 16:22:55 1998 Lars Hamann <lars@gtk.org>
+
+ * gtk/gtkclist.c (COLUMN_FROM_XPIXEL): samll fix for invisible
+ columns
+
Thu Oct 22 02:29:53 1998 Tim Janik <timj@gtk.org>
* gtk/gtkfilesel.h: GtkType and macro fixups
+Thu Oct 22 16:22:55 1998 Lars Hamann <lars@gtk.org>
+
+ * gtk/gtkclist.c (COLUMN_FROM_XPIXEL): samll fix for invisible
+ columns
+
Thu Oct 22 02:29:53 1998 Tim Janik <timj@gtk.org>
* gtk/gtkfilesel.h: GtkType and macro fixups
+Thu Oct 22 16:22:55 1998 Lars Hamann <lars@gtk.org>
+
+ * gtk/gtkclist.c (COLUMN_FROM_XPIXEL): samll fix for invisible
+ columns
+
Thu Oct 22 02:29:53 1998 Tim Janik <timj@gtk.org>
* gtk/gtkfilesel.h: GtkType and macro fixups
gint i, cx;
for (i = 0; i < clist->columns; i++)
- {
- cx = clist->column[i].area.x + clist->hoffset;
+ if (clist->column[i].visible)
+ {
+ cx = clist->column[i].area.x + clist->hoffset;
- if (x >= (cx - (COLUMN_INSET + CELL_SPACING)) &&
- x <= (cx + clist->column[i].area.width + COLUMN_INSET))
- return i;
- }
+ if (x >= (cx - (COLUMN_INSET + CELL_SPACING)) &&
+ x <= (cx + clist->column[i].area.width + COLUMN_INSET))
+ return i;
+ }
/* no match */
return -1;